package com.xzx.mybatis.mapper;

import com.xzx.mybatis.po.EmployeePO;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author xinzhixuan
 * @version 1.0
 * @date 2025/6/21 12:44
 */
public interface EmployeeMapper {

    int insert(EmployeePO employee);

    List<EmployeePO> getList();

    EmployeePO getById(@Param("id") Long id);
    EmployeePO getByName(@Param("lastName") String lastName);


}
